Repository navigation
fix: serialize run-switch and give each invocation its own log - #5146
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 28 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
|
CI coverage note: |
Summary
lib/run-switch.sh. A stableflock -nlock refuses a concurrent switch and reports the active run log.SWITCH_EXITin that run’s own log.Verification
bash lib/run-switch.test.shbash -n lib/run-switch.sh lib/run-switch.test.shshellcheck lib/run-switch.sh lib/run-switch.test.shgit diff --checkCloses #3753
The existing
~/run-switch.shwas inspected but not replaced on this branch; deployment/matching verification remains for after merge.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.